package com.ddwl.common.util;

import java.util.regex.Pattern;

/**
 * @author Fu Zhaohui
 * @version 1.0.0
 * @date 2018/12/11 16:54
 */
public final class RegexUtil {

    public static final Pattern MOBILE_REG = Pattern.compile("^(1\\d{10})$");
    public static final Pattern ID_CARD_REG = Pattern.compile("^(\\d{18,18}|\\d{15,15}|(\\d{17,17}[x|X]))$");
    public static final Pattern AUTH_CODE_REG = Pattern.compile("^1[0-5]\\d{16}$");

    private RegexUtil() {
    }
}
